package com.ssm.server.user.dao;

import com.ssm.server.user.model.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhangyibo
 */
@Repository
public interface UserDao {
    public void saveUser(User user);
    public List<User> selectCommodity();
    public User getUserById(int userId);
    public void updateaUserAccountMoney(User user);
    public void updateaUserPrizeCoin(User user);
    public User getUserByOpenId(String openId);
    public void updateUserPhone(User user);
    public void updateUserInfo(User user);
    public void updateSessionKey(User user);
    public User getPrizeCoin(int userId);

    
}
